<script setup lang="ts">
import DraggablePanel from '@/components/draggable-panel/index.vue'

const dialogVisible = ref(false)
const isShowDraggablePanel = ref(true)

</script>

<template>
  <div class="app" v-if="isShowDraggablePanel">
    <DraggablePanel :width="600" :height="600" title="移动面板" @setup="dialogVisible = true"
      @close="isShowDraggablePanel = false">
    </DraggablePanel>

    <el-drawer v-model="dialogVisible" title="设置" size="50%">
      <div>
      </div>
    </el-drawer>
  </div>
</template>

<style scoped></style>
